package com.mRadix;

public class Test1_1 {
    public static void main(String[] args) {
        int a = 10;
        int b = 20;

        a = a ^ b;          // a = 10 ^ 20;
        b = a ^ b;          // b = 10 ^ 20 ^ 20;      --> b = 10;
        a = a ^ b;          // a = 10 ^ 20 ^ 10;      --> a = 20;

        System.out.println("a=" + a);
        System.out.println("b=" + b);
    }
}
